﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ChessGame.Movement
{
    /// <summary>
    /// Hit Option object
    /// </summary>
    public class HitOption
    {
        private int x;
        private int y;

        /// <summary>
        /// Position X
        /// </summary>
        public int X
        {
            get { return x;  }
            set { x = value; }
        }

        /// <summary>
        /// Position Y
        /// </summary>
        public int Y
        {
            get { return y; }
            set { y = value; }
        }

        /// <summary>
        /// HitOption constructor 
        /// </summary>
        /// <param name="_X">Position X</param>
        /// <param name="_Y">Position Y</param>
        public HitOption(int _X, int _Y)
        {
            this.x = _X;
            this.y = _Y;
        }
    }
}
